﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace WindowsFormsApplication5
{
    public class Rocket
    {
        private Rectangle _rocket;
       // public enum direction { left = 1, right = 2, up = 3, down = 4 };
        public Rectangle rocket
        {
            get { return _rocket; }
            set { _rocket = value; }
        }
        private int Direct;
        public int direct
        {
            get { return Direct; }
            set { Direct = value; }
        }
        private bool Live;
        public bool live
        {
            get { return Live; }
            set { Live = value; }
        }
        private int type;
        public int Type
        {
            get { return type; }
            set { type = value; }
        }
        private Data data;

        
        public Rocket(int x, int y)
        {
            data = new Data();
            _rocket = new Rectangle();
            _rocket.Size = new  Size(data.rocket_width, data.rocket_height);
            _rocket.Location = new Point(x, y);

            live = true;
        }
    }

}
